home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 4
/
Amiga Tools 4.iso
/
grafix
/
raytracing
/
raylab
/
source
/
platform
/
amiga
/
smakefile
< prev
Wrap
Makefile
|
1996-01-06
|
2KB
|
74 lines
#***************************************************************
#
# Makefile for RayLab v1.0
# This file is released to the public domain.
#
# This makefile was made for Sas/C 6.x for the Amiga
#
#***************************************************************
#
# To compile RayLab for 68020/68881, type:
# smake amiga881
# or just
# smake
#
# To compile RayLab for ieee math libraries (68000/68010), type:
# smake amigaieee
#
# If you want to compile both versions, type:
# smake both
#
SCOPT020 = NOICONS UCHAR NOSTKCHK STRMER CPU=68020 MATH=68881 NOLINK PARM=REG \
OPT OPTTIME OPTINLOCAL OPTCOMP=5 OPTDEP=5 OPTRDEP=5 \
MEMSIZE=HUGE ERRREXX
SCOPTIEEE = NOICONS UCHAR NOSTKCHK STRMER CPU=ANY MATH=IEEE NOLINK PARM=REG \
OPT OPTTIME OPTINLOCAL OPTCOMP=5 OPTDEP=5 OPTRDEP=5 \
MEMSIZE=HUGE ERRREXX
LIBS881 = lib:scm881.lib lib:scnb.lib lib:amiga.lib
LIBSIEEE = lib:scmieee.lib lib:scnb.lib lib:amiga.lib
OBJ = o
PLATFORM = amiga.$(OBJ)
OBJS= raylab.$(OBJ) objects.$(OBJ) camera.$(OBJ) intersct.$(OBJ) \
algebra.$(OBJ) tga.$(OBJ) texture.$(OBJ) getworld.$(OBJ) \
$(PLATFORM)
# Amiga Linkage...
#
amiga881 :
copy to SCOPTIONS <from <
$(SCOPT020)
<
smake raylab881
delete SCOPTIONS
amigaieee :
copy to SCOPTIONS <from <
$(SCOPTIEEE)
<
smake raylabieee
delete SCOPTIONS
both:
delete $(OBJS) >NIL: <NIL:
smake amigaieee
delete $(OBJS) >NIL: <NIL:
smake amiga881
raylab881 : $(OBJS)
slink <with <
from lib:c.o $(OBJS) LIB $(LIBS881) to raylab881 SMALLCODE SMALLDATA
<
raylabieee : $(OBJS)
slink <with <
from lib:c.o $(OBJS) LIB $(LIBSIEEE) to raylabieee SMALLCODE SMALLDATA
<